<header class="page-header">
  {{key-value-header
    baseKey=model
    path="vault.cluster.access.method"
    root=root
    showCurrent=true
  }}
  <div class="level">
    <div class="level-left">
      <h1 class="title is-3">
        {{capitalize model.type}}
      </h1>
    </div>
    <div class="level-right">
      {{#if (eq section "configuration")}}
        <div class="field is-grouped">
          <div class="control">
            {{#link-to
              "vault.cluster.settings.auth.configure"
              model.id
              class="button is-ghost has-icon-right is-compact"
              data-test-configure-link=true
            }}
              Configure
              {{i-con glyph="chevron-right" size=11}}
            {{/link-to}}
          </div>
        </div>
      {{/if}}
    </div>
  </div>
</header>

{{section-tabs model 'authShow'}}
{{component (concat "auth-method/" section) model=model}}

